package com.ezcoding.dao;

import com.ezcoding.model.Company;
import com.jfinal.plugin.activerecord.Db;

public class CompanyDao {
    public static CompanyDao dao = new CompanyDao();

    public Company getCompanyByCompanyId(String companyId) {
        String sql = Db.getSql("Company.getCompanyByCompanyId");

        return Company.dao.findFirst(sql, companyId);
    }
}
